package com.example.ssm.handler;

import com.example.ssm.entity.Student;
import com.example.ssm.service.StudentServiceStrong;
import com.example.ssm.util.spring.SpringContextUtil;

public class ShitHandler {

    StudentServiceStrong studentServiceStrong;


    public ShitHandler(){
        studentServiceStrong = SpringContextUtil.getBean(StudentServiceStrong.class);
    }

    public int updateSomeShitByIdWithNewBean(Student student){
        int i = studentServiceStrong.updateById(student);
        return i;
    }

}
